//
//  TFTouchesVIew.swift
//  TalkfunSDKDemo
//
//  Created by 莫瑞权 on 2022/5/6.
//  Copyright © 2022 Talkfun. All rights reserved.
//

import UIKit

class TFTouchesVIew: UIView {

    override func touchesBegan(_ touches: Set<UITouch>, with event: UIEvent?) {
        if self.superview != nil {
            self.superview?.touchesBegan(touches, with: event)
        }
    }
  
    override func touchesMoved(_ touches: Set<UITouch>, with event: UIEvent?) {
        if self.superview != nil {
            self.superview?.touchesMoved(touches, with: event)
        }
    }
  
    override func touchesEnded(_ touches: Set<UITouch>, with event: UIEvent?) {
        if self.superview != nil {
            self.superview?.touchesEnded(touches, with: event)
        }
    }

    override func touchesCancelled(_ touches: Set<UITouch>, with event: UIEvent?) {
        if self.superview != nil {
            self.superview?.touchesCancelled(touches, with: event)
        }
    }

   
}
